package com.yonyou.ucf.mdf.app.isvdxq.firstpart.location.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.yonyou.ucf.mdf.app.isvdxq.firstpart.location.entity.LocationEntity;

import java.util.List;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class LocationTreeBean extends LocationEntity {
//    private String id;
//    private String locationName;
//    private String locationCode;
//    private int level;
//    private boolean isEnd;
//    private String path;
//    private String name;
    private String warehouseID;
    private String warehouseName;
    private String warehouseCode;
    private String parent;
    private String parentName;
    private List<LocationTreeBean> children;

    public String getWarehouseID() {
        return warehouseID;
    }

    public void setWarehouseID(String warehouseID) {
        this.warehouseID = warehouseID;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getParent() {
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public List<LocationTreeBean> getChildren() {
        return children;
    }

    public void setChildren(List<LocationTreeBean> children) {
        this.children = children;
    }
}
